<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:include="include/header :: header('新增')"></head>
<body>
	<div id="dpLTE" class="container-fluid" v-cloak>
		<table class="form" id="form">
			<tr>
	            <td class="formTitle">上级部门<font face="宋体">*</font></td>
	            <td class="formValue">
					<div id="organizeTree" type="selectTree" class="ui-select" isvalid="yes" checkexpession="NotNull"></div>
	            </td>

	            <td class="formTitle">部门主管<font face="宋体">*</font></td>
	            <td class="formValue">
					<div id="managerId" type="selectTree" class="ui-select"></div>
	            </td>
        	</tr>
			<tr>
	            <td class="formTitle">部门编号<font face="宋体">*</font></td>
	            <td class="formValue">
					<input type="text" id="enCode" class="form-control" placeholder="部门编号" v-model="department.enCode" isvalid="yes" checkexpession="NotNull">
	            </td>

	            <td class="formTitle">部门名称<font face="宋体">*</font></td>
	            <td class="formValue">
					<input type="text" id="fullName" class="form-control" placeholder="部门名称" v-model="department.fullName" isvalid="yes" checkexpession="NotNull">
	            </td>
        	</tr>
			<tr>
	            <td class="formTitle">部门简称<font face="宋体">*</font></td>
	            <td class="formValue">
					<input type="text" id="shortName" class="form-control" placeholder="部门简称" v-model="department.shortName" isvalid="yes" checkexpession="NotNull">
	            </td>

	            <td class="formTitle">部门性质<font face="宋体">*</font></td>
	            <td class="formValue">
					<div id="nature" type="select" class="ui-select"></div>
	            </td>
        	</tr>
			<tr>
				<td class="formTitle">电话号码</td>
				<td class="formValue">
					<input type="text" id="outerPhone" class="form-control" placeholder="电话号码" v-model="department.outerPhone" isvalid="no" checkexpession="NotNull">
				</td>

				<td class="formTitle">内线号码</td>
				<td class="formValue">
					<input type="text" id="innerPhone" class="form-control" placeholder="内线号码" v-model="department.innerPhone" isvalid="no" checkexpession="NotNull">
				</td>
			</tr>


			<tr>
	            <td class="formTitle">电子邮件</td>
	            <td class="formValue">
					<input type="text" id="email" class="form-control" placeholder="电子邮件" v-model="department.email" isvalid="no" checkexpession="NotNull">
	            </td>

	            <td class="formTitle">部门传真</td>
	            <td class="formValue">
					<input type="text" id="fax" class="form-control" placeholder="部门传真" v-model="department.fax" isvalid="no" checkexpession="NotNull">
	            </td>
        	</tr>


			<tr>
	            <td class="formTitle">备注</td>
	            <td class="formValue" colspan="3">
					<input type="text" style="height: 70px;" id="description" class="form-control"  v-model="department.description" isvalid="no" checkexpession="NotNull">
	            </td>
        	</tr>

		</table>
	</div>
	<div th:include="include/footer :: footer"></div>
	<script th:src="@{/statics/js/base/department/add.js}"></script>
</body>
</html>